package com.kaifamiao.N0718;

public class Work1 {

    public static void main(String[] args) {

        for (int x = 1; x <= 5; x++) {
            for (int y = 1; y <= 10 - x; y++) {
                System.out.print(" ");
            }
            for (int w = 1; w <= 2 * x - 1; w++) {
                System.out.print("*");
            }
            System.out.println();
        }
    }
}

